﻿//
// Created by xqyr on 2024/6/19.
//

#ifndef MQTTQT_MAINWIDGET_H
#define MQTTQT_MAINWIDGET_H

#include <QMainWindow>

#include "backend/Mmqtt.h"

QT_BEGIN_NAMESPACE
namespace Ui { class MainWidget; }
QT_END_NAMESPACE

class MainWidget : public QMainWindow {
Q_OBJECT

public:
    explicit MainWidget(QWidget *parent = nullptr);

    ~MainWidget() override;
private slots:
    void mqttReCIVE(const QMQTT::Message message);
private:
    Ui::MainWidget *ui;
    uint64_t Zero_time;
};


#endif //MQTTQT_MAINWIDGET_H
